/*    */ package com.yc.web.station;
/*    */ 
/*    */ import com.yc.dao.model.PowerBoxBO;
/*    */ import com.yc.service.station.PowerBoxService;
/*    */ import com.yc.util.ListContentsBFO;
/*    */ import java.util.Map;
/*    */ import org.apache.commons.logging.Log;
/*    */ import org.apache.commons.logging.LogFactory;
/*    */ 
/*    */ public class PowerBoxWeb
/*    */ {
/* 13 */   private static final Log log = LogFactory.getLog(PowerBoxWeb.class);
/*    */   private PowerBoxService powerBoxService;
/*    */ 
/*    */   public PowerBoxWeb()
/*    */   {
/* 17 */     this.powerBoxService = new PowerBoxService();
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getPowerBoxList(Map condition) {
/* 21 */     return this.powerBoxService.getPowerBoxList(condition);
/*    */   }
/*    */ 
/*    */   public boolean savePowerBox(PowerBoxBO bo) {
/* 25 */     String strID = bo.getId();
/* 26 */     if ((strID == null) || ("".equalsIgnoreCase(strID.trim()))) {
/* 27 */       return this.powerBoxService.savePowerBox(bo);
/*    */     }
/* 29 */     return this.powerBoxService.updatePowerBox(bo);
/*    */   }
/*    */   public boolean deletePowerBox(String strID) {
/* 32 */     return this.powerBoxService.deletePowerBox(strID);
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getPowerBoxByBtsName(Map condition) {
/* 36 */     return this.powerBoxService.getPowerBoxByBtsName(condition);
/*    */   }
/*    */ }

/* Location:           E:\java\apache-tomcat-6.0.36\webapps\btsm\WEB-INF\classes\
 * Qualified Name:     com.yc.web.station.PowerBoxWeb
 * JD-Core Version:    0.6.2
 */